Optimal. Leaf size=45 \[ \frac{e (h x)^{m+1} \left (a+b x^n\right )^{p+1} \left (c+d x^n\right )^{p+1}}{a c h (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.553113, antiderivative size = 45, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 86, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.012, Rules used = {1848} \[ \frac{e (h x)^{m+1} \left (a+b x^n\right )^{p+1} \left (c+d x^n\right )^{p+1}}{a c h (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1848
Rubi steps
\begin{align*} \int (h x)^m \left (a+b x^n\right )^p \left (c+d x^n\right )^p \left (e+\frac{(b c+a d) e (1+m+n+n p) x^n}{a c (1+m)}+\frac{b d e (1+m+2 n+2 n p) x^{2 n}}{a c (1+m)}\right ) \, dx &=\frac{e (h x)^{1+m} \left (a+b x^n\right )^{1+p} \left (c+d x^n\right )^{1+p}}{a c h (1+m)}\\ \end{align*}
Mathematica [A] time = 0.767357, size = 41, normalized size = 0.91 \[ \frac{e x (h x)^m \left (a+b x^n\right )^{p+1} \left (c+d x^n\right )^{p+1}}{a c (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.429, size = 136, normalized size = 3. \begin{align*}{\frac{xe \left ( bd \left ({x}^{n} \right ) ^{2}+ad{x}^{n}+bc{x}^{n}+ac \right ) \left ( a+b{x}^{n} \right ) ^{p} \left ( c+d{x}^{n} \right ) ^{p}}{ac \left ( 1+m \right ) }{{\rm e}^{-{\frac{m \left ( i \left ({\it csgn} \left ( ihx \right ) \right ) ^{3}\pi -i\pi \, \left ({\it csgn} \left ( ihx \right ) \right ) ^{2}{\it csgn} \left ( ih \right ) -i\pi \, \left ({\it csgn} \left ( ihx \right ) \right ) ^{2}{\it csgn} \left ( ix \right ) +i{\it csgn} \left ( ihx \right ){\it csgn} \left ( ih \right ){\it csgn} \left ( ix \right ) \pi -2\,\ln \left ( h \right ) -2\,\ln \left ( x \right ) \right ) }{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.36721, size = 124, normalized size = 2.76 \begin{align*} \frac{{\left (a c e h^{m} x x^{m} + b d e h^{m} x e^{\left (m \log \left (x\right ) + 2 \, n \log \left (x\right )\right )} +{\left (b c e h^{m} + a d e h^{m}\right )} x e^{\left (m \log \left (x\right ) + n \log \left (x\right )\right )}\right )} e^{\left (p \log \left (b x^{n} + a\right ) + p \log \left (d x^{n} + c\right )\right )}}{a c{\left (m + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.7337, size = 223, normalized size = 4.96 \begin{align*} \frac{{\left (b d e x x^{2 \, n} e^{\left (m \log \left (h\right ) + m \log \left (x\right )\right )} + a c e x e^{\left (m \log \left (h\right ) + m \log \left (x\right )\right )} +{\left (b c + a d\right )} e x x^{n} e^{\left (m \log \left (h\right ) + m \log \left (x\right )\right )}\right )}{\left (b x^{n} + a\right )}^{p}{\left (d x^{n} + c\right )}^{p}}{a c m + a c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.18857, size = 209, normalized size = 4.64 \begin{align*} \frac{{\left (b x^{n} + a\right )}^{p}{\left (d x^{n} + c\right )}^{p} b d x x^{2 \, n} e^{\left (m \log \left (h\right ) + m \log \left (x\right ) + 1\right )} +{\left (b x^{n} + a\right )}^{p}{\left (d x^{n} + c\right )}^{p} b c x x^{n} e^{\left (m \log \left (h\right ) + m \log \left (x\right ) + 1\right )} +{\left (b x^{n} + a\right )}^{p}{\left (d x^{n} + c\right )}^{p} a d x x^{n} e^{\left (m \log \left (h\right ) + m \log \left (x\right ) + 1\right )} +{\left (b x^{n} + a\right )}^{p}{\left (d x^{n} + c\right )}^{p} a c x e^{\left (m \log \left (h\right ) + m \log \left (x\right ) + 1\right )}}{a c m + a c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]